// 表格头部信息
export default function ColumnsList() {
  // 托盘列表
  const columns: any[] = [
    {
      title: '工作包编号',
      dataIndex: 'packageCode',
      width: '180',
    },
    {
      title: '架次',
      dataIndex: 'startPlaneNo',
      width: '60',
    },
    {
      title: 'AO号',
      dataIndex: 'aoCode',
      width: '180',
    },
    {
      title: '图号',
      dataIndex: 'itemCode',
      width: '180',
    },

    {
      title: '质量编号',
      dataIndex: 'qualityCode',
      sortable: {
        sortDirections: ['ascend', 'descend'],
      },
      width: '180',
    },

    {
      title: '分拣数量',
      dataIndex: 'packageCount',
      sortable: {
        sortDirections: ['ascend', 'descend'],
      },
      width: '120',
    },
    {
      title: '需求数量',
      dataIndex: 'itemQty',
      width: '90',
    },

    {
      title: '托盘号',
      dataIndex: 'palletCode',
      sortable: {
        sortDirections: ['ascend', 'descend'],
      },
      width: '180',
    },
    {
      title: '分拣状态',
      dataIndex: 'packageCount',
      sortable: {
        sortDirections: ['ascend', 'descend'],
      },
      width: '120',
    },
    {
      title: '拆包数量',
      dataIndex: 'unpackQty',
      slotName: 'unpackQty',
      fixed: 'right',
      sortable: {
        sortDirections: ['ascend', 'descend'],
      },
      width: '180',
    },
  ];
  // 箱号列表
  const columnsTwo: any[] = [
    {
      title: '序号',
      dataIndex: 'index',
      slotName: 'index',
      width: 80,
    },
    {
      title: '图号',
      dataIndex: 'itemCode',
      width: 180,
    },
    {
      title: '当前库存数量',
      dataIndex: 'itemQty',
      width: 130,
    },
  ];
  return { columns, columnsTwo };
}
